package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.GroupPullTaskDevice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupPullTaskDeviceMapper {
    int deleteById(@Param("id") Long id);

    int insert(GroupPullTaskDevice record);

    int insertSelective(GroupPullTaskDevice record);

    GroupPullTaskDevice selectById(@Param("id") Long id);

    List<GroupPullTaskDevice> selectListByTaskId(@Param("taskId") Long taskId, @Param("merId") Long merId);

    int updateByIdSelective(GroupPullTaskDevice record);

    int updateById(GroupPullTaskDevice record);

}